package com.party.core.dao.write.commune;

import com.party.core.dao.write.BaseWriteDao;
import com.party.core.model.commune.CRouteInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 会员到路线起始点的时间和距离写入接口
 * @Date: 2019/10/22 14:26
 */
public interface CRouteInfoWriteDao extends BaseWriteDao<CRouteInfo> {

    /***
    * 批量插入
    * @Date 8:34 2019/10/25
    * @param cRouteInfoList
    * @return
    **/
    boolean batchInsert(@Param("cRouteInfoList") List<CRouteInfo> cRouteInfoList);

    boolean deleteByRouteId(@Param("cRouteId") String cRouteId);
}
